<script setup>

import Swiper from './components/Swiper.vue'
import Nav from './components/Nav.vue'
import { ref } from 'vue'

const movetop = ref({
  position: 'sticky',
  top: 0,
  'margin-top':"-46px",
  'z-index':888,
})

</script>

<template>

  <!-- 1.轮播图 -->
  <Swiper></Swiper>

  <!-- 2.导航栏 -->
  <Nav :style="movetop"></Nav>
  <!-- 3.电影列表 -->
  <!-- 即将上映或正在热映的数据列表 -->
  <div >
    <RouterView></RouterView>
  </div>

</template>

<style scoped></style>